import { NgModule } from '@angular/core';
import { SharedModule } from '@shared/shared.module';
import { OtcCenterRoutingModule } from './otc-center-routing.module';
import { OtcCenterOtcCenterListComponent } from './otc-center-list/otc-center-list.component';
import { OtcCenterOtcCenterEditComponent } from './otc-center-list/otc-center-edit/otc-center-edit.component';
import { OtcCenterDetailComponent } from './otc-center-detail/otc-center-detail.component';
import { OtcCenterFormComponent } from './otc-center-form/otc-center-form.component';
import { OtcSalesmanComponent } from './otc-salesman/otc-salesman.component';
import { OtcBrandComponent } from './otc-brand/otc-brand.component';

const COMPONENTS = [
  OtcCenterOtcCenterListComponent,
  OtcCenterDetailComponent,
  OtcBrandComponent];
const COMPONENTS_NOROUNT = [
  OtcCenterOtcCenterEditComponent,
  OtcSalesmanComponent,
  OtcCenterFormComponent];

@NgModule({
  imports: [
    SharedModule,
    OtcCenterRoutingModule
  ],
  declarations: [
    ...COMPONENTS,
    ...COMPONENTS_NOROUNT
  ],
  entryComponents: COMPONENTS_NOROUNT
})
export class OtcCenterModule { }
